package com.ruibang.glass.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruibang.glass.quality.domain.req.ArchiveDefectReq;
import com.ruibang.glass.quality.domain.resp.ReinvestmentInfo;
import com.ruibang.glass.quality.entity.EverydayArchiveDefect;
import com.teaming.cloud.framework2.autoconfigure.dynamic.datasource.annotation.DS;

import java.util.List;

/**
 * <p>
 * 每日归档缺陷统计信息 Mapper 接口
 * </p>
 *
 * @author wujie
 * @since 2023-12-13
 */
public interface EverydayArchiveDefectMapper extends BaseMapper<EverydayArchiveDefect> {

    List<ReinvestmentInfo> getDayReinvestmentNum(ArchiveDefectReq archiveDefectReq);

    void deleteByParam(ArchiveDefectReq archiveDefectReq);

    List<EverydayArchiveDefect> queryEverydayByTime(ArchiveDefectReq archiveDefectReq);
}
